public class Main {
    public static void main(String[] args) {
        String str1 = new String("sdsjf&dsaw");
        String[] ret = str1.split("&");
        for (String x:ret){
            System.out.println(x);
        }
    }
}
